/**
 * Created by rongyao on 2017/10/18.
 */
var mongoose = require('mongoose'),
	materializedPlugin = require('mongoose-materialized'),
	Schema = mongoose.Schema;
var CatSchema = new Schema({
	title:String,
	type:Number
});


CatSchema.plugin(materializedPlugin);

module.exports= mongoose.model('Cat', CatSchema,'cate'); // Category